package cn.com.lms.business.exam.persistence.entity;


import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Getter
@Setter
@Table(name = "bnz_exam_exercise_depart_job_info")
@Schema(description="练习人员部门岗位表")
public class ExerciseDepartJobInfo extends BaseEntity {

  @Schema(description = "练习ID")
  @Column(name = "exercise_id")
  private Long exerciseId;

  @Schema(description = "0-岗位 数字-部门ID")
  @Column(name = "obj_id")
  private Long objId;

  @Schema(description = "数据类型 1-部门数据 2岗位数据")
  @Column(name = "type")
  private Short type;

  @Schema(description = "部门/岗位称")
  @Column(name = "full_name")
  private String  fullName;

  @Schema(description = "删除标识 0-未删除 1-已删除")
  @Column(name = "is_delete")
  private Boolean isDelete;
}
